{% extends "admin/base_site.html" %}


{% block breadcrumb %}
    <ul class="breadcrumb">
        <li>
            <a href="{% url 'admin:index' %}">Home</a>
            <span class="divider">»</span>
        </li>
        <li>
            <a href="{% url 'rq_home' %}">Django RQ</a>
            <span class="divider">»</span>
        </li>
        <li>
            <a href="{% url 'rq_jobs' queue_index %}">{{ queue.name }}</a>
            <span class="divider">»</span>
        </li>
        <li class="active">Empty</li>
    </ul>
{% endblock %}

{% block content_title %}<h1>Are you sure?</h1>{% endblock %}

{% block content %}

<div id="content-main">
    <p>
        Are you sure you want to clear the queue <a href = "{% url 'rq_jobs' queue_index %}">{{ queue.name }}</a>?
        This action can not be undone.
    </p>
    <form action="" method="post">
        {% csrf_token %}
        <div>
            <input class="btn btn-primary" type="submit" value="Yes, I'm sure" />
        </div>
    </form>
</div>

{% endblock %}
